#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:homework3_2.py
# author:wmf
# datetime:2021/4/5 21:15
# software: PyCharm
'''
this is function description
'''
# import module your need

# 2 写一个程序，从input.txt中读取之前输入的数据，存入列表中，再加上行号打印显示；格式如下
# #第一行： xxxx
# #第二行： xxxx

i = 1

with open('input.txt','r') as f:
    str1 = f.readlines()
    for x in str1:
        print('第',i,'行:',x,end='')
        i = i+1